import 'package:pull_to_refresh/pull_to_refresh.dart';

class ObtainRefreshController extends RefreshController {
  factory ObtainRefreshController() => _getInstance();

  static ObtainRefreshController? _instance;

  ObtainRefreshController._internal() {
    // 初始化
  }
  static ObtainRefreshController _getInstance() {
    _instance ??= ObtainRefreshController._internal();
    return _instance!;
  }
}